<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>新增书籍</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- 引入 Bootstrap -->
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
  <div class="row clearfix">
    <div class="col-md-12 column">
      <div class="page-header">
        <h1>
          <small>新增书籍</small>
        </h1>
      </div>
    </div>
  </div>
  <form action="${pageContext.request.contextPath}/book/addBook" method="post">
    <div class="form-group row">
      <label for="input1" class="col-sm-1 col-form-label">书籍名称</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" id="input1" name="bookName">
      </div>
    </div>
    <div class="form-group row">
      <label for="input2" class="col-sm-1 col-form-label">书籍数量</label>
      <div class="col-sm-10">
        <input type="number" class="form-control" id="input2" name="bookCounts">
      </div>
    </div>
    <div class="form-group row">
      <label for="input3" class="col-sm-1 col-form-label">书籍详情</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" id="input3" name="detail">
      </div>
    </div>
    <div class="form-group row">
      <div class="col-sm-10">
        <button type="submit" class="btn btn-primary btn-lg" >添加</button>
      </div>
    </div>


<%--    <div class="form-group row">--%>
<%--      <label for="inputPassword" class="col-sm-1 col-form-label">书籍名称</label>--%>
<%--      <div class="col-sm-4">--%>
<%--        <input type="text" class="form-control" id="inputPassword" name="bookName">--%>
<%--      </div>--%>
<%--    </div>--%>
<%--    书籍名称：<input type="text" name="bookName"><br><br><br>--%>
<%--    <input type="text" class="form-control" placeholder="bookName" aria-label="bookName" aria-describedby="basic-addon1">--%>
<%--    书籍数量：<input type="text" name="bookCounts"><br><br><br>--%>
<%--    书籍详情：<input type="text" name="detail"><br><br><br>--%>
<%--    <input type="submit" value="添加">--%>
  </form>
</div>